<?
	$all_promotion = $dsfm_promotion->get_all_promotion();
	$all_promotion = $dsfm_localization->data($all_promotion, array("detail","promotion") );
	$tpl->assign("all_promotion", $all_promotion);

	$id = $dsfm_channel->get_max_channel();
	$channel = $dsfm_channel->get_channel($id);
	$tpl->assign("channel",$channel);

	$all_notice = $dsfm_notice->get_all_notice();
	$all_notice = $dsfm_localization->data($all_notice, "notice");
	$notice = end($all_notice);
	$tpl->assign("notice",$notice['notice']);

	$tpl->draw("home");
?>